<?php
class CreateServerNumberService
{
	/**
	 * 生成注册号
	 * @Author   Leikes
	 * @DateTime 2016-01-28T15:56:32+0800
	 * @return   string                   注册号
	 */
	public function createServerNumber()
	{
		$serverNumber='';
		$factor=['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
		for($i=0;$i<16;$i++)
		{	
			$serverNumber.=$factor[rand(0,count($factor)-1)];
		}
		return $serverNumber;
	}
}
?>